using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;

namespace net.notdot.Attercop
{
    public class PeerConnection
    {
        public readonly ClientInstance ClientInstance;
        public readonly Peer Peer;
        internal Socket Socket;

        public PeerConnection(ClientInstance c, Peer p)
        {
            ClientInstance = c;
            Peer = p;

            //TODO: Connect, send HelloMessage, and asynchronously receive a message.
        }

        public void SendMessage(Message m)
        {
            //TODO: Implement
        }

        public void Close()
        {
            //TODO: Implement
        }
    }
}
